package edu.sctu.nieyu.day20150517;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by user01 on 2015/5/17.
 */
public class Students {
    private List<Student> list1 = new ArrayList<>();
    private List<Student> list2 = new ArrayList<>();
    private  List<Student> list3 = new ArrayList<>();
    public Students(){

        for (int i = 0; i < 3; i++) {
            Student student = new Student(10,"Tom",60,"man",18,"Beijing");
            list1.add(student);
        }
        for (int i = 0; i < 3; i++) {
           Student student = new Student(3+i,"Bob"+i,60+i,"man"+i,20+i,"Tianjing");
            list2.add(student);
        }
        for (int i = 0; i < 3; i++) {
            Student student = new Student(6+i,"Susan"+i,80+i,"Woman"+i,45+i,"Luzhou");
            list3.add(student);
        }
    }
    public List<Student> get1(){
        return list1;
    }
    public List<Student> get2(){
        return list2;
    }
    public List<Student> get3(){
        return list3;
    }
}
